<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 并集选择器 */
        div,span{
            color: darkorange;
        }
        /* id选择器 */
        #nick{
            background: darkturquoise;
        }
        /* 后代选择器 */
        ul li{
            color: deeppink;
        }
    </style>
</head>
<body>
    <div>熊大</div>
    <span>熊二</span>
    <p id="nick">光头强</p>
    <ul>
        <li>小猪佩奇</li>
        <li>弟弟乔治</li>
        <li>猪爸爸</li>
        <li>猪妈妈</li>
    </ul>
</body>
</html>